package com.sigmatrix.h5.service.db;

import org.springframework.stereotype.Service;

import com.sigmatrix.h5.entity.v2.DisTerminalShopDetail;
import com.sigmatrix.h5.mapper.DisTerminalShopDetailMapper;
import com.sigmatrix.h5.service.v2.CommonDBService;

/**
 * 
 * @author wei.wang
 *
 */
@Service
public class DisTerminalShopDetailDBservice extends CommonDBService<DisTerminalShopDetailMapper, DisTerminalShopDetail> {

	/**
	 * 根据ShopId更新Location数据。Location：province，city，citySubOrdinate，address
	 * 
	 * @param detail
	 */
	public void updateLocationByShopId(DisTerminalShopDetail detail) {
		baseMapper.updateLocationByShopId(detail);

	}

}